<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<c:set var="contextPath" value="${pageContext.request.contextPath}"></c:set>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="X-UA-Compatible" content="ie=edge" />

<link rel="stylesheet"
	href="${contextPath}/static/statistics/css/mui.min.css">
<link rel="stylesheet"
	href="${contextPath}/static/statistics/css/app.css" />
<link rel="stylesheet"
	href="${contextPath}/static/statistics/layui/css/layui.css" />
<link rel="stylesheet"
	href="${contextPath}/static/statistics/css/bootstrap.css" />
</head>
<style>
table {
	width: 100%;
	font-size: 12px;
	border-collapse: collapse;
}

table tr td input {
	font-weight: normal;
}

table tr {
	border: 1px solid gray;
	font-weight: bold;
}

table tr td {
	border: 1px solid gray;
}

table input[type=checkbox] {
	vertical-align: middle;
}
</style>
<body>
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">贵州科泰易购商贸有限公司 黔彩便利加盟申请表</h1>
	</header>
	<div class="mui-content">
		<div>
			<!-- <form id="joinForm"> -->
				<div id="item1" class="mui-control-content mui-active">
					<div class="mui-content-padded" style="margin: 5px;"
						id="baseInfo_box">
						<form id="examForm">
							<table>
								<tr>
									<td rowspan="20" style="text-align: center">审核</td>
									<td rowspan="7" style="text-align: center">市州专卖部门意见</td>
									<td><input type="checkbox" id="displayLicense" name="displayLicense" value="1"/>亮证经营</td>
									<td><input type="checkbox" id="markPrice" name="markPrice" value="1"/>明码标价</td>
								</tr>
								<tr>
									<td><input type="checkbox" id="realPrice" name="realPrice" value="1"/>明码实价</td>
									<td><input type="checkbox" id="warningSigns" name="warningSigns" value="1"/>警示标识</td>
								</tr>
								<tr>
									<td><input type="checkbox" id="illegalSale" name="illegalSale" value="1"/>两年内有无销售假、私、非烟的行为</td>
									<td><input type="checkbox" id="illegalBehavior" name="illegalBehavior" value="1"/>两年内有无二次批发、左右价格、扰乱市场的行为</td>
								</tr>
								<tr>
									<td style="text-align: center">初始办证时间</td>
									<td><input type="date" id="handleLicenseTime" name="handleLicenseTime" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">审批意见</td>
									<td><textarea type="text" id="marketExamOpinion" name="marketExamOpinion"></textarea></td>
								</tr>
								<tr>
									<td style="text-align: center">经办人</td>
									<td><input type="text" id="marketExamPerson" name="marketExamPerson" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">经办时间</td>
									<td><input type="date" id="marketExamTime" name="marketExamTime" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td rowspan="8" style="text-align: center">市州营销部门审核</td>
									<td style="text-align: center">客户档位</td>
									<td><input type="text" id="customerDegree" name="customerDegree" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">上柜卷烟品规个数</td>
									<td><input type="text" id="tobaccoNumber" name="tobaccoNumber" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">前12个月进货（万元）</td>
									<td><input type="text" id="purchaseMoney" name="purchaseMoney" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">前12个月进货条数</td>
									<td><input type="text" id="purchaseBars" name="purchaseBars" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">商圈属性</td>
									<td>
										<input type="checkbox" id="businessAttribute" name="businessAttribute" value="1"/>商业区&nbsp;&nbsp;
										<input type="checkbox" id="businessAttribute" name="businessAttribute" value="2"/>住宅区&nbsp;&nbsp;
										<input type="checkbox" id="businessAttribute" name="businessAttribute" value="3"/>文教区&nbsp;&nbsp;
										<input type="checkbox" id="businessAttribute" name="businessAttribute" value="4"/>办公区&nbsp;&nbsp;
										<input type="checkbox" id="businessAttribute" name="businessAttribute" value="5"/>工业区&nbsp;&nbsp;
										<input type="checkbox" id="businessAttribute" name="businessAttribute" value="6"/>交通枢纽区&nbsp;&nbsp;
										<input type="checkbox" id="businessAttribute" name="businessAttribute" value="7"/>旅游休闲区 
									</td>
								</tr>
								<tr>
									<td style="text-align: center">主要消费群体</td>
									<td><input type="text" id="consumerGroups" name="consumerGroups" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center" colspan="2">营销能力</td>
								</tr>
								<tr>
									<td style="text-align: center">体验区面积</td>
									<td>
										<input type="checkbox" id="experienceAcreage" name="experienceAcreage" value="1"/>有&nbsp;&nbsp;
										<input type="checkbox" id="experienceAcreage" name="experienceAcreage" value="2"/>无
									</td>
								</tr>
								<tr>
									<td rowspan="5" style="text-align: center">商贸公司意见</td>
									<td style="text-align: center">审批意见</td>
									<td><input type="text" id="businessExamOpinion" name="businessExamOpinion" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">经办人</td>
									<td><input type="text" id="businessExamPerson" name="businessExamPerson" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">经办时间</td>
									<td><input type="date" id="businessExamTime" name="businessExamTime" style="border: 0px; margin: 0px; height: 5px;"/></td>
								</tr>
								<tr>
									<td style="text-align: center">拓展部门意见</td>
									<td><textarea type="date" id="expandDepartmentOpinion" name="expandDepartmentOpinion"></textarea></td>
								</tr>
								<tr>
									<td style="text-align: center">公司负责人意见</td>
									<td><textarea type="date" id="chargeManOpinion" name="chargeManOpinion"></textarea></td>
								</tr>
							</table>
						</form>
						<div style="margin-left: 40%;margin-top:10px;">
							<button onclick="examApplay()" style="color:white;background-color:#393D49;border-radius: 5px;">提交审核</button>
						</div>
					</div>
				</div>
			<!-- </form> -->
		</div>
	</div>
	<script src="${contextPath}/static/statistics/js/mui.min.js"></script>
	<script src="${contextPath}/static/statistics/js/jquery.js"></script>
	<script src="${contextPath}/static/statistics/layui/layui.js"></script>
	<script src="${contextPath}/static/statistics/layui/layui.all.js"></script>
	<script type="text/javascript">
		/* 加盟审核 */
		 function examApplay(){
			var examForm = $("#examForm").serialize();
			var examForm = JSON.stringify(examForm);
			alert(examForm);
            $.ajax({
                type: 'post',
                url: '${contextPath}/ktJoin/examApplay',
                data:examForm,   
                dataType: 'json',
                success: function (data) {
                	
                },
                error: function (result) {
                
                }
            });
		} 
		
	</script>
</body>
</html>